//
//  DingRtcView.h
//  ding_rtc
//
//  Created by FXY on 2025/7/30.
//

#import <Foundation/Foundation.h>
#import <Flutter/Flutter.h>
#import <UIKit/UIKit.h>
#import <DingRtc/DingRtcEngine.h>

NS_ASSUME_NONNULL_BEGIN

@interface DingRtcView : NSObject <FlutterPlatformView>

@property(nonatomic, strong) UIView *view;
@property(nonatomic, assign) int64_t viewId;
@property(nonatomic, strong) DingRtcVideoCanvas *canvas;

- (instancetype)initWithFrame:(CGRect)frame
               viewIdentifier:(int64_t)viewId
                    arguments:(id _Nullable)args
              binaryMessenger:(NSObject<FlutterBinaryMessenger>*)messenger;

@end

NS_ASSUME_NONNULL_END
